package com.juyu.miliao.api.domain;

import java.time.LocalDateTime;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.juyu.miliao.api.validator.ReportCheck;
import com.juyu.miliao.api.validator.common.Save;

/**
 * 举报用户
 * @author wbf
 */
public class UserReport {
	/** id*/
	private int id;
	/** 举报原因*/
	//@Min(value = 1, groups = {ReportCheck.class})
	private int reportId;
	/** 举报人*/
	@Min(value = 1, groups = {ReportCheck.class})
	private int reportUserId;
	/**
	 * 举报人是否为主播
	 */
	private int reportUserIsHost;
	/** 被举报人*/
	@Min(value = 1, groups = {ReportCheck.class})
	private int sufferUserId;
	/**
	 * 被举报人是否为主播
	 */
	private int sufferUserIsHost;
	/** 举报原因集*/
	@NotBlank(groups = {ReportCheck.class}, message = "类型不能为空")
	private String reportIds;
	/** 举报图片*/
	@NotBlank(groups = {ReportCheck.class}, message = "图片不能为空")
	private String reportPhotos;
	/** 简述*/
	//@NotBlank(groups = {ReportCheck.class},message = "简述不能为空")
	private String sketch;
	/** 举报时间*/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private LocalDateTime createTime;
	/**
	 * 主播关联的运营id
	 */
	private int adminId;
	/**
	 * 运营名字
	 */
	private String adminName;

	public int getAdminId() {
		return adminId;
	}

	public void setAdminId(int adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public int getReportUserIsHost() {
		return reportUserIsHost;
	}

	public void setReportUserIsHost(int reportUserIsHost) {
		this.reportUserIsHost = reportUserIsHost;
	}

	public int getSufferUserIsHost() {
		return sufferUserIsHost;
	}

	public void setSufferUserIsHost(int sufferUserIsHost) {
		this.sufferUserIsHost = sufferUserIsHost;
	}

	public String getReportIds() {
		return reportIds;
	}

	public void setReportIds(String reportIds) {
		this.reportIds = reportIds;
	}

	public String getReportPhotos() {
		return reportPhotos;
	}

	public void setReportPhotos(String reportPhotos) {
		this.reportPhotos = reportPhotos;
	}

	public String getSketch() {
		return sketch;
	}

	public void setSketch(String sketch) {
		this.sketch = sketch;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getReportId() {
		return reportId;
	}
	public void setReportId(int reportId) {
		this.reportId = reportId;
	}
	public int getReportUserId() {
		return reportUserId;
	}
	public void setReportUserId(int reportUserId) {
		this.reportUserId = reportUserId;
	}
	public int getSufferUserId() {
		return sufferUserId;
	}
	public void setSufferUserId(int sufferUserId) {
		this.sufferUserId = sufferUserId;
	}
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	
}
